#define _CRT_SECURE_NO_WARNINGS 1 
#include"Sort.h"


void test1()
{
	int a[] = { 4,7,1,9,3,6,5,8,0,2 };

	PrintArry(a, sizeof(a) / sizeof(int));
	HeapSort(a, sizeof(a) / sizeof(int));
	PrintArry(a, sizeof(a) / sizeof(int));
}
void test2()
{
	int a[] = { 4,7,1,9,3,6,5,8,0,2 ,10};
	InsertSort(a, sizeof(a) / sizeof(int));

	PrintArry(a, sizeof(a) / sizeof(int));
	ShellSort(a, sizeof(a) / sizeof(int));
	PrintArry(a, sizeof(a) / sizeof(int));
}
void test3()
{
	int a[] = { 4,7,1,9,3,6,5,8,0,2 ,10 };

	
	PrintArry(a, sizeof(a) / sizeof(int));
	//QuickSortNonR(a, 0, sizeof(a) / sizeof(int)-1);
	//QuickSort(a, 0, sizeof(a) / sizeof(int) - 1);
	//MergeSort(a, sizeof(a) / sizeof(int));
	//MergeSortNonR(a, sizeof(a) / sizeof(int));
	CountSort(a, sizeof(a) / sizeof(int));


	PrintArry(a, sizeof(a) / sizeof(int));
}
int main()
{
	//test();
	test3();
	return 0;
}